package org.huntaway.kindergarten.manager;

import java.util.List;

import org.huntaway.kernel.NutException;
import org.huntaway.kindergarten.po.Payout;

public class PayoutMng  extends BaseMng<Payout>{
	@SuppressWarnings("unchecked")
	public List<Payout> getPayout() {		
		return dateManage.findbyhql("from Payout").list();
	}
	public void save(Payout item) {
		//item.setIsuse(EnumUse.NO.getValue());
		//updateEntityUse(item);

		super.save(item);
	}
	public void delete(Payout item) throws NutException {
		/*if(item.getIsuse().intValue()==EnumUse.YES.getValue()){
			throwException(item);
		}*/
		super.delete(item);
	}
}
